// 配置业务地址
const urlconstant = {
  // 登录相关
  LOGON: {
    LOGIN: '/logon/login',
    REGISTER: '/logon/register',
    GET_USER_INFO: '/logon/userInfo'
  },
  // 漂流瓶相关
  BOTTLE: {
    THROW_BOTTLE: '/bottle/throw',
    PICK_BOTTLE: '/bottle/pick',
    GET_MY_BOTTLES: '/bottle/my',
    RESPOND_BOTTLE: '/bottle/respond',
    GET_BOTTLE_DETAIL: '/bottle/detail'
  },
  // 星球相关
  PLANET: {
    GET_PLANETS: '/planet/list',
    GET_PLANET_DETAIL: '/planet/detail',
    VISIT_PLANET: '/planet/visit'
  },
  // PLUS会员相关
  PLUS_MEMBER: {
    GET_MEMBER_INFO: '/plus-member/info',
    PURCHASE_MEMBERSHIP: '/plus-member/purchase',
    GET_PURCHASE_HISTORY: '/plus-member/history',
    RENEW_MEMBERSHIP: '/plus-member/renew',
    CANCEL_MEMBERSHIP: '/plus-member/cancel',
    GET_BENEFITS: '/plus-member/benefits',
    PURCHASE_DIAMONDS: '/plus-member/diamonds/purchase'
  }
};

export default urlconstant;